<template>
    <div class="item">
        <van-row>
            <van-col @click="enterInfo(item.thing_id)" v-for="item, index in list" :key="index" span="12">
                <img :src="item.thing_img" alt="">
                <p>{{ item.thing_title }}</p>
            </van-col>
        </van-row>
    </div>
</template>

<script>
export default {
    name: "item",
    props: {
        list: {
            type: Array,
            default: () => []
        }
    },
    data() {
        return {

        }
    },
    async created() { },
    methods: {
        enterInfo(id) {
            this.$router.push({
                path: "/info",
                query: {
                    id
                }
            })
        }
    }
}
</script>


<style scoped lang='less'></style>
